package com.baidumap.administrator.happystudy.utils;

import java.text.DecimalFormat;

/**
 * 描述：
 * 作者：xiaoxing on 17/4/12 13:06
 * 邮箱：2235445233@qq.com
 */
public class NumberUtils {
    public static String formatPrice(double price) {
        DecimalFormat df = new DecimalFormat("0.00");
        String format = "￥" + df.format(price);
        return format;
    }
}
